﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Termites.Behaviors;


namespace Termites
{
    class Level1 : Level
    {
        private const int TERMITE_NUMBER = 50;
        public Level1(BoundingSphere basePos, Texture2D tTexture, int levelWidth, int levelHeight)
            : base(basePos, tTexture, 1, levelWidth, levelHeight) 
        {
            termiteBehaviors.Add(new ReverseMovementBehavior());
            //termiteBehaviors.Add(new AutoMovementBehavior());
            for (int i = 0; i < TERMITE_NUMBER; i++)
            {
                ComputerTermites.Add(new Termite(false, new Vector2(), tTexture, TermitScale, termiteBehaviors[0])); 
            }

            RandomlyPositionTermites();
        }
    }
}
